home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Essentials / Developer Essentials Nov 90 / Apple II / Apple.II.partition / Tools / Technical.Notes / IIGS / TN.IIGS.059 < prev    next >
Encoding:
Text File  |  1989-08-20  |  1.1 KB  |  28 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIGS
  8. #59:    Do Not Create Zero-Length Text Scraps
  9.  
  10. Written by:    Dave Lyons                                           July 1989
  11.  
  12. This Technical Note describes a problem with PutScrap if used to create a 
  13. zero-length text scrap.
  14. _____________________________________________________________________________
  15.  
  16. Do not create a text scrap (scrap type $0) with length zero.  LEFromScrap in 
  17. System Software 5.0 and earlier does not expect an existing text scrap to be 
  18. empty, and it will trash random memory if it is.  It is okay for there to be 
  19. no text scrap, but if one exists it must have a non-zero length.
  20.  
  21. Even if your application does not cause a call to LEFromScrap, other 
  22. applications and desk accessories have to live with what you put on the 
  23. clipboard, so do not allow this condition to arise.
  24.  
  25.  
  26. Further Reference
  27. _____________________________________________________________________________
  28.     o    Apple IIGS Toolbox Reference, Volume 2